package wifiunion.com.notice.adapter;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import wifiunion.com.notice.R;


/**
 * Created by Administrator on 2016/11/23.
 * 状态列表viewholder
 */

public class NoticeRecordMainViewHolder extends RecyclerView.ViewHolder {
    public TextView mTimetv;
    public ImageView mHeaderiv;
    public TextView mDevicetv;
    public TextView mTZDXtv;
    public TextView mTZNRtv;






    /**
     * @param itemView
     *
     */
    public NoticeRecordMainViewHolder(View itemView) {
        super(itemView);
        mHeaderiv = (ImageView) itemView.findViewById(R.id.noticerecord_item_header_iv);
        mTimetv = (TextView) itemView.findViewById(R.id.noticerecord_item_time_tv);
        mDevicetv = (TextView) itemView.findViewById(R.id.noticerecord_item_device_tv);
        mTZDXtv  = (TextView) itemView.findViewById(R.id.noticerecord_item_tzdx_tv);
        mTZNRtv = (TextView) itemView.findViewById(R.id.noticerecord_item_tznr_tv);




    }




    @Deprecated
    public final int getIPosition() {
        return getPosition() - 2;
    }

    public final int getILayoutPosition() {
        return getLayoutPosition() - 2;
    }

    public final int getIAdapterPosition() {
        return getAdapterPosition() - 2;
    }

    public final int getIOldPosition() {
        return getOldPosition() - 2;
    }

    public final long getIItemId() {
        return getItemId();
    }

    public final int getIItemViewType() {
        return getItemViewType();
    }
}
